package com.dengyuanke.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dengyuanke.common.SuperEntity;
import com.dengyuanke.entity.enums.BooleanEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * <p>
 * 商品类型id
 * </p>
 *
 * @author dengyuanke
 * @since 2017-11-07
 */
@ApiModel("商品类型实体")
@TableName("tb_goods_type")
public class ServiceType extends SuperEntity<ServiceType> {

    private static final long serialVersionUID = 1L;

    /**
     * 名字
     */
    @ApiModelProperty("名字")
	private String name;

	/**
	 * 是否删除 是否删除1是0否
	 */
	@ApiModelProperty("是否删除 是否删除1是0否")
	@TableField("is_del")
	private BooleanEnum del;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BooleanEnum getDel() {
		return del;
	}

	public void setDel(BooleanEnum del) {
		this.del = del;
	}

	@Override
	public String toString() {
		return "ServiceType{" +
				"name='" + name + '\'' +
				", del=" + del +
				'}';
	}
}
